﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aier.dataaccess.model
{
    public class PageResult<T>
    {
        private IEnumerable<T> items = new List<T>();
        /// <summary>
        /// 总记录数
        /// </summary>
        public int total { get; set; }
        /// <summary>
        /// 是否存在下一页
        /// </summary>
        public bool existsnextdata { get; set; }
        /// <summary>
        /// 当前页数据
        /// </summary>
        public IEnumerable<T> datas { get {return items; } set {this.items = value; } }
    }

    public class HomeInfo
    {
        public Guid taskid { get; set; }
        public string subject { get; set; }
        public DateTime scheduledstart { get; set; }
        public string new_mobile { get; set; }
        public Guid ownerId { get; set; }
    }
}
